Hello! I am working on a top-down shooter.
The main object instaniates a projectile on mouse down input like it is suppose to.
However, i cannot figure out how to constantly instaniate the projectile while the mouse is held down because it only instaniates the projectile once until I re-click again.
At the moment, I have a Listener state for the object that waits for a "Get Mouse Button Down", Which once held, sends a event to a state that performs the "Create Object" which then waits for "Get Mouse Button Up" to return back to the Listener state.
Thank you!