GetImageHotspotX

Category: Images and Rendering

Back to System Functions


Signature

GetImageHotspotX(imageReference As Integer)

Returns

Integer

Description

Returns the current X hotspot of a loaded image in pixels.

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

Example

hotspotX = GetImageHotspotX(player)