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
Align For CouplingApply Velocity to VehicleBoost VehicleSet Vehicle ColorsCustom Parts Config ProviderEnter VehicleFlip UprightFreeze VehicleGenerate License PlateGet Vehicle ActiveGet Electrics ValueGet GearboxmodeGet Powertrain DataGravity ForceDistance From GroundHas Coupler TagIs CoupledIs Player UsableKeep VehicleMove Vehicle ToOn Cannon FiredOn Vehicle DestroyedOn Vehicle ResetOn Vehicle SpawnedOn Vehicle SwitchedPlayer UsableRandom Config ProviderRecover In PlaceRemove VehicleTimeline ReplaySet Vehicle ActiveSet Gearbox ModeSet IgnitionSet License PlateSet LightbarSet LightsShift to Gear IndexSpawn VehicleVehicle StatesTeleport To Last RoadToggle Vehicle ControlsMove To ShowroomVehicle TouchProps TouchStatic Object TouchTrack VehicleTrailer Respawn ControlVehicle Config ProviderGet Vehicle DataGet Vehicle DataGet Vehicle BoundsVehicle PingGet Vehicle Wheel Center

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 Extensionsflowgraphnodesvehicle

Get Vehicle Active

- **Node Name:** `Get Vehicle Active`

Overview

  • Node Name: Get Vehicle Active
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/vehicle/getActive.lua

Gets the active (visibility) state of a vehicle. Active means the vehicle is visible and simulated; inactive means it is hidden.

Pin Schema

Input Pins

PinTypeDescription
vehIdnumberID of vehicle to check. If not provided, uses the player vehicle

Output Pins

PinTypeDescription
trueflowActive when vehicle is visible
falseflowActive when vehicle is invisible
isActiveboolThe visibility state as a boolean

Internals

Key Methods

MethodDescription
work()Resolves the vehicle object, calls obj:getActive(), and sets all three output pins accordingly

How It Works

  1. Resolves the vehicle from vehId or defaults to getPlayerVehicle(0).
  2. Calls obj:getActive() on the scene object to get its visibility state.
  3. Sets the true flow pin when visible, false flow pin when invisible, and isActive boolean pin with the raw state.

Usage Example

-- In a flowgraph:
-- [Get Vehicle Active] ← vehId ← [Vehicle ID]
--   → (true)  → [Vehicle is visible branch]
--   → (false) → [Vehicle is hidden branch]

-- Programmatic equivalent:
local obj = getPlayerVehicle(0)
if obj then
  local isActive = obj:getActive()
  print("Vehicle visible:", isActive)
end

Key Dependencies

  • obj:getActive() - scene object method returning visibility/active state

See Also

  • Align for Coupling (Flowgraph Node) - Related reference
  • Apply Velocity to Vehicle (Flowgraph Node) - Related reference
  • Boost Vehicle (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Generate License Plate

- **Node Name:** `Generate License Plate`

Get Electrics Value

- **Node Name:** `Get Electrics Value`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsKey MethodsHow It WorksUsage ExampleKey DependenciesSee Also