How would you go at finding the scene width with lua? I think it would be a function, but not entirely sure. Something like this:
Code:
function "find scene width"
end
if self.X.Pos > Scene.Width then
self.X.Pos = 0
end
I think it would be something like that, just dont know exactly how to do it.
Thanks