Build a small game on ScriptMax

hello I'm a beginner in maxscript I wanted to make a little game: a ball which played an air I seen to move the box so as not to let the ball touch the ground. the question is how can my box keep the mouvment of my mouse?? I'm looking for two weeks but I did not find this function! I supli you help me :( and thank you in advance