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

Is Player Usable

- **Node Name:** `Is Player usable`

Overview

  • Node Name: Is Player usable
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/vehicle/isPlayerUsable.lua

Checks whether a vehicle is usable by the player. The playerUsable property on a vehicle object determines if the player can enter/drive it.

Pin Schema

Input Pins

PinTypeDescription
vehIdnumberID of the vehicle to check

Output Pins

PinTypeDescription
trueflowActive when the vehicle is player-usable
falseflowActive when the vehicle is not player-usable

Legacy Pins

Old NameNew Name
vehiIdvehId

Internals

Key Methods

MethodDescription
work()Resolves the vehicle by ID and reads source.playerUsable, outputs to flow pins

How It Works

  1. Resolves the vehicle object from vehId via scenetree.findObjectById. Does not fall back to the player vehicle if no ID is given.
  2. Reads the playerUsable property from the vehicle scene object.
  3. Sets the true flow pin when the vehicle is usable and the false flow pin when it is not.

Usage Example

-- In a flowgraph:
-- [Is Player Usable] ← vehId ← [Vehicle ID]
--   → (true)  → [Allow entry]
--   → (false) → [Show "vehicle locked" message]

-- Programmatic equivalent:
local veh = scenetree.findObjectById(vehId)
if veh then
  local usable = veh.playerUsable
  print("Player can use:", usable)
end

Key Dependencies

  • obj.playerUsable - scene object property indicating whether the player can enter/drive the vehicle

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

Is Coupled

- **Node Name:** `Is Coupled`

Keep Vehicle

- **Node Name:** `Keep Vehicle`

On this page

OverviewPin SchemaInput PinsOutput PinsLegacy PinsInternalsKey MethodsHow It WorksUsage ExampleKey DependenciesSee Also