Hello,
Is there a way to limit the number of times an object completes a move command. For example can I set an object to move only 1 time or 2 times. Right not there is not limit to the move command.
Thanks.
Cris Caotn
Hello,
Is there a way to limit the number of times an object completes a move command. For example can I set an object to move only 1 time or 2 times. Right not there is not limit to the move command.
Thanks.
Cris Caotn
Hello Christine, you should use a counter for this kind of things.
Instead of directly invoking the move action, the image, when tapped should increment a counter object, which would move the image. You can set a limit of 2 or whatever number of times you want it to execute.
You can see an example in the example project.