backspace
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
("backspace", () => void): this;
Emitted if the user presses the backspace button on the keyboard. This will only be emitted after show() has been called, even on platforms without an on-screen keyboard.
Returns
Section titled “Returns”this
Handler Function
Section titled “Handler Function”When the backspace
event is fired, attached handler functions are called with no arguments.
Example
Section titled “Example”myKeyboard.on("backspace", backspacePressed);
function backspacePressed(){ //code to run when the backspace button is pressed}