Is it possible to limit the area where the cursor may go. Like I want the cursor only be able to be over a bar of buttons I created.

Any suggestions?