Spriteat Function Example

Details

Action

A MathScript Function that returns the current coordinates of a sprite.

make loc spriteat("Donald Duck")
Sets the value of loc to the vector of coordinates of the center of the sprite named "Donald Duck"