hgeSprite::SetHotSpot

Sets the sprite anchor point.

void SetHotSpot(
  float x,
  float y
);

Parameters

x
Anchor point x-coordinate.
y
Anchor point y-coordinate.

Remarks

Anchor point is the center for scaling, rotation and position operations.

Requirements

Header: hgesprite.h
Import library: hgehelp.lib

See also

GetHotSpot