anchor_y


Description:

[ NoAccessorMethod ]
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "0.8" ) ]
public float anchor_y { get; set; }

Warning: anchor_y is deprecated since 1.12.

The Y coordinate of an actor's anchor point, relative to the actor coordinate space, in pixels

Note:

Use pivot_point instead

It is highly recommended not to use anchor_x, anchor_y, and anchor_gravity in newly written code; the anchor point adds an additional translation that will affect the actor's relative position with regards to its parent, as well as the position of its children. This change needs to always be taken into account when positioning the actor. It is recommended to use the pivot_point property instead, as it will affect only the transformations.