Home › Forums › Development discussions › Questions › Reply To: Questions
January 11, 2015 at 19:17
#667
Sponk
Keymaster
You can use “Widget:translate(x,y)” and “Widget:setPosition(x,y)” to do that. the Widget.position field is actually read-only. It will ignore new values written into there.
More info: http://neo-engine.de/documentation/LuaDoc/Widget.lua.html
Btw: Sprite is sub-classes of Widget and thus inheriting all methods 😀