move_anchor_point
Description:
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "0.6" ) ]
public void move_anchor_point (float anchor_x, float anchor_y)
public void move_anchor_point (float anchor_x, float anchor_y)
Warning: move_anchor_point is deprecated since 1.12.
Sets an anchor point for the actor, and adjusts the actor postion so that the relative position of the actor toward its parent remains the same.
Note:
Use pivot_point and set_translation instead.
Parameters:
this |
a Actor |
anchor_x |
X coordinate of the anchor point |
anchor_y |
Y coordinate of the anchor point |