Posted: Wed Nov 20, 2019 6:51 pm Post subject: animating a panel
I've been trying for a little bit to figure out how to get something on a trainer to move. like you click a button or panel and a panel move from one location to another
Last edited by ItsALivng on Thu Nov 21, 2019 11:26 pm; edited 1 time in total
b.onClick = function(sender)
p.top = math.random(0,sender.top - p.height); -- fit panel between start of the window and the button position;
p.left = math.random(0,f.width - p.width);
end
_________________
I'm rusty and getting older, help me re-learn lua.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum