Topic was automatically imported from the old Question2Answer platform.
Asked By
Agentfox
For my project, I’m trying to make an RTS style game with the classic controls (CTRL selects multiple units, SHIFT adds multiple destinations, etc), and for the multiple destinations I’m using a dictionary that holds all the destinations and moves them all down by one when a destination is reached, but when you hold down SHIFT and click somewhere, it adds way too many destinations (I’ll leave a link for what it’s supposed to look like below), is there any way to make it so that it only adds a destination once every 3 seconds, or only on mouse click rather than mouse press?