I want to move from one layout to another randomly.
I first created a starting layout and added all the layout names as strings to an array object:
I want to pick randomly the first three layouts and when there is no other left, move to Layout 4
The problem is that clicking on the sprite to move to the next layout sometimes causes a lag. It's like I haven't clicked at all and sometimes it takes several clicks to move to the next layout.
Please help me, thanks in advance!