In my game, the player inserts objects and drags them with the mouse to drop them somewhere in 3D space.
To confirm, the player clicks the left mouse button.
In most games, when a player wants to cancel an entry, they just press the ESCAPE key. However, ESC is a RESERVED KEY in Roblox and cannot be used in a script.
So I tried to cancel the insertion with the right mouse button. But the right button is used to rotate the view, which is important for the game during the object insertion process.
So I can’t use either ESC or the mouse.
What is the best input to cancel the insertion of an object during gameplay?