MoveToAccurate
Last updated
Was this helpful?
Last updated
Was this helpful?
The MoveToAccurate creates a set of for moving a to a given point in a set amount of time.
The following code moves a to the position where the user clicks the . Note that this could be implemented with any PositionedObject, including any Glue entity. Add the following using statements to your Glue screen:
Add the following to your screen's CustomInitialize to show the mouse:
Add the following to your Screen's CustomActivity, assuming SpriteInstance is a Sprite in your Screen: