Category: Images and Rendering
Back to System Functions
GetSpriteHotspotX(spriteReference As Integer)
Integer
Returns the current X hotspot of a loaded sprite in pixels.
If the sprite reference is invalid, the result is 0.
hotspotX = GetSpriteHotspotX(hero)