set_position


Description:

public void set_position (float x, float y)

Sets the actor's fixed position in pixels relative to any parent actor.

If a layout manager is in use, this position will override the layout manager and force a fixed position.

Parameters:

this

A Actor

x

New left position of actor in pixels.

y

New top position of actor in pixels.