Skip to lesson
LESSON 29 / 44 · Intermediate

Switches, pressure plates and doors

Use a preset to connect an interaction to a real door object.

Open editor in a new tab ↗

Before you begin

Place a player, a switch and a solid door.

Build it step by step

  1. Open Rules → Combat & interactions → Switch & door.

  2. Choose the switch and door objects. Select whether activation uses contact or a nearby input action.

  3. Choose the intended mode: open, toggle or hold. Use a hold-style plate when the door should remain open only while occupied.

  4. Apply the preset, then inspect the generated rules. Test the switch first with a short unobstructed route to the door.

  5. Stand in the doorway while closing is requested. The existing door action waits for an empty doorway rather than closing through an object.

TRY THIS IDEA

Practical example

A pressure plate opens a doorway while the player stands on it. A toggle lever stays open until activated again.

Test your work

The door’s visible and solid behaviour changes together and the player can cross when open.

If it does not work

Hide object alone is not the same as the Open / close door action. Inspect solid behaviour if an invisible doorway still blocks travel.

MAKE IT YOUR OWN

Student challenge

Use an Interact action for a lever and put a collectible behind the door.

Show the result to a partner. Explain what you changed and how you tested it.

Keep exploring