setPosition

fun Actor.setPosition(x: Int, y: Int)

Utility method overload. Allows to set actor's position with ints rather than floats.

Parameters

x

actor's position on X axis in stage units.

y

actor's position on Y axis in stage units.