How would I create an object at the location that I click? I'm trying to add a visual effect for when you click anywhere onscreen during gameplay. The only thing I thought of was to create a sprite when I click but that doesn't work the way I need it to.
Develop games in your browser. Powerful, performant & highly capable.
On click, create sprite at Mouse.X, Mouse.Y.
You can add a fade or timer behavior to the sprite object to have it automatically fade or destroy itself after a set time.
That worked perfectly. Thank you so much!