Category:Locations

Gets the location of a given sprite.

This block can be used to get the exact location of the center of a sprite, even when it moves around the screen.

Parameters

NameDescription
sprite The sprite or sprite group whose location is being called

Tips

  • The sprite‚Äôs location is determined by where the center of the sprite is.

Found a bug in the documentation? Let us know at documentation@code.org