Search Tutorials
Edit Action Properties Once you inserted the command below the "Mouse.hide()" command, it's time to edit the action's properties.
You must tell which object will be dragged around the screen. To do so, go to the "Target" field (still on the Actions panel) and type "arrow" - the instance name you just gave to your object. Also, turn on the "Lock mouse to center" option - this will make your symbol's center be locked to the mouse's center, that is what we want. If it was off, the new symbol would still move together with your mouse movements, but the new cursor's placement would be wrong (see image for the correct parameters applied).
That's it. You have just created a simple script that, on the first frame of your movie, hides the standard mouse cursor, and then makes another object follow it, acting as a new cursor. It will only act inside your movie, but it will perform just like a normal cursor.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|