Back to the Shapespark home page

Disable short key Q & E on uploaded scenes

Hi, how to disable the keyboard short key Q & E to prevent the user fly up to sky and go through bottom of the space. I’m would like to control user to to walk on eye level.

Please see this answer: Hide some controls or all controlls temporary

where should I put in the script ? at the extension ?

In the body-end.html file in Documents\Shapespark\SCENE-NAME\ folder on your computer.

can you show me a example ? Thanks

Hi, Can you show me a screen capture to me of which body-end.html file ?

By default there is no such file. You have to create such a file inside Documents\Shapespark\<SCENE-NAME> directory, copy the script text from Jan’s post there.

can you show me a screen capture example ?

Here you go.

  1. Open Documents\Shapespark folder, and then enter your-scene folder.

  2. Use the context menu to add a new Text Document.

  3. Enter body-end.html as the name of the new file.

  4. Open the created body-end.html file in Notepad and copy the code snippet from Hide some controls or all controlls temporary into the file.
    image

  5. Save the file and reload your scene.