Quantcast
Channel: 2D Latest Topics
Viewing all articles
Browse latest Browse all 623

Multiple Clicks

$
0
0

Hello. I'm new here and finally found a reason to post. I'm also new to this kind of development.

To the point: I am creating a transition using Tween and a container. My issue is when the play/user clicks on the hit box to start the animation/tween it doesn't account for multiple clicks which then plays the animation again. How do I not allow the function to execute when is it already running?

I'm developing with CreateJS in case that matters.

Thanks in advance.


Viewing all articles
Browse latest Browse all 623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>