I want the right-click button to delete a sprite instance in my game that is at the same x,y position as the mouse how could I do that if at all?
Develop games in your browser. Powerful, performant & highly capable.
Add a Mouse object on the layout, then create an event for the mouse "on object click", choose the "Right click" and add action "Destroy object"