
I made this custom FX for magic missile. { "angle": -1, "angleRandom": 1, "duration": 10, "emissionRate": 500, "endColour": [0, 10, 50, 0], "endColourRandom": [0, 0, 0, 0], "gravity": {"x":0.01, "y":0.01}, "lifeSpan": 50, "lifeSpanRandom": 1, "maxParticles": 5000, "size": 2, "sizeRandom": 0, "speed": 60, "speedRandom": 60, "startColour": [90, 125, 250, 1], "startColourRandom": [12, 12, 12, 1] } You click then aim a line in where you want to fire and and fires from the point of origin in the direction you clicked. How would I make the effect length end where you clicked. Example: I click on X as origin and click Y but the missile passes Y and continues for a long time. I want it to end at Y instead of continuing to fire in that clicked direction. I want it to stop where I clicked, what's circled in red in this image: How can I make the effect stop where clicked?