RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Add To Inventory (Flowgraph Node)Career Vehicle Select (Flowgraph Node)Set Tutorial Step (Flowgraph Node)Complete Quest (Flowgraph Node)On Custom Tow (Flowgraph Node)Garage Computer Util (Flowgraph Node)Garage Tutorial Util (Flowgraph Node)Get Tutorial Step (Flowgraph Node)Get Tutorial Flag (Flowgraph Node)Logbook Entry (Flowgraph Node)Menu Closed (Flowgraph Node)On Garage Event (Flowgraph Node)On Intro Popup Career Closed (Flowgraph Node)On Poi Prompt Shown (Flowgraph Node)On Mission Start/Stop (Flowgraph Node)On RefuelingOn Testdrive ChangedOn Vehicle Shopping EventAdd Or Remove Player AttributeSet Fuel LevelSet Tutorial FlagTasklist HeaderVehicle Group by Performance Class

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionsflowgraphnodescareer

Menu Closed (Flowgraph Node)

- **Node Name:** `Menu Closed`

Overview

  • Node Name: Menu Closed
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/career/menuClosed.lua

Detects when any menu is closed and the player returns to play state. Used in garage tutorial flows.

Pin Schema

Output Pins

PinTypeDescription
menuClosedflow (impulse)Fires once when any menu closes and player is back in play state

Behavior

  • work() - Resets menuClosed to false, applies queued flags, clears flags table.
  • onUIPlayStateChanged(enteredPlay) - If enteredPlay is true, sets the menuClosed flag.

Event Hooks

  • onUIPlayStateChanged - triggered when UI transitions to/from play state

Notes

  • Standard flags-based impulse pattern.

See Also

  • Add To Inventory (Flowgraph Node) - Related reference
  • Career Vehicle Select (Flowgraph Node) - Related reference
  • Set Tutorial Step (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Logbook Entry (Flowgraph Node)

- **Node Name:** `Logbook Entry`

On Garage Event (Flowgraph Node)

- **Node Name:** `On Garage Event`

On this page

OverviewPin SchemaOutput PinsBehaviorEvent HooksNotesSee Also