GetSpriteHotspotY

Category: Images and Rendering

Back to System Functions


Signature

GetSpriteHotspotY(spriteReference As Integer)

Returns

Integer

Description

Returns the current Y hotspot of a loaded sprite in pixels.

If the sprite reference is invalid, the result is 0.

Example

hotspotY = GetSpriteHotspotY(hero)