set_anchor_point


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "0.6" ) ]
public void set_anchor_point (float anchor_x, float anchor_y)

Warning: set_anchor_point is deprecated since 1.12.

Sets an anchor point for this.

Note:

Use pivot_point instead.

The anchor point is a point in the coordinate space of an actor to which the actor position within its parent is relative; the default is (0, 0), i.e. the top-left corner of the actor.

Parameters:

this

a Actor

anchor_x

X coordinate of the anchor point

anchor_y

Y coordinate of the anchor point