Skip to content
Vicious Squid edited this page Jun 11, 2026 · 34 revisions

World portal for non-Euclidean environmental design - Inspired by Prey (2006)

Portals act as windows which the player can step through. Use this to make endless corridors or similar confusing designs.

Renderer intensive, use sparingly

Demonstrated in maps/Portal_Test.json

Also see: portal-specific console commands


  • Attach to mover
  • Portal Target - Name of partner Portal
  • Active
  • Angle
  • Color
  • Height
  • Visible
  • Width

Inputs

Input Description
Enable Sets active to True and triggers the OnActivate event
Disable Sets active to False and triggers the OnDeactivate event
Toggle Flips the current active state

Outputs

Output Description
OnPlayerEnter Fired once per transit when the player passes through
OnActivate Fired when the portal is enabled
OnDeactivate Fired when the portal is disabled

Clone this wiki locally