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
Medal / Auto Medal (Flowgraph Node)Clear Messages (Flowgraph Node)Context Translation (Flowgraph Node)ConvertUnit (Flowgraph Node)Set UI Timer / Corner Timer (Flowgraph Node)Custom Button TEST (Flowgraph Node)Custom UI Layout (Flowgraph Node)End Screen (Flowgraph Node)End Stats (Flowgraph Node)Fade From Black (Flowgraph Node)Fade Sequence (Flowgraph Node)Fade To Black (Flowgraph Node)Flash Message (Flowgraph Node)Generic Mission Text (Flowgraph Node)Get Gamestate (Flowgraph Node)Show Editor (Flowgraph Node)Hide Game UI (Flowgraph Node)Message (Flowgraph Node)Mission End Screen (Flowgraph Node)Popup (Flowgraph Node)Monologue (Flowgraph Node)Multi Description (Flowgraph Node)On Bigmap Poi (Flowgraph Node)On Bigmap State Change (Flowgraph Node)Set UI Race Checkpoints (Flowgraph Node)Set UI Race Laps (Flowgraph Node)Set UI Race Recovery (Flowgraph Node)RT Message (Flowgraph Node)Select Buttons (Flowgraph Node)Set UI Layout (Flowgraph Node)Show Apps (Flowgraph Node)Show Monitor (Flowgraph Node)Start Screen (Flowgraph Node)Clear Goals (Flowgraph Node)Tasklist Message (Flowgraph Node)Tasklist Task (Flowgraph Node)Three Element Select (Flowgraph Node)Vehicle Selector (Flowgraph Node)
Create Button (Flowgraph Node)Get Button (Flowgraph Node)Get Multiple Buttons (Flowgraph Node)Set Button Property (Flowgraph Node)Set Multiple Buttons Property (Flowgraph Node)Simple Button (Flowgraph Node)Simple Multiple Buttons (Flowgraph Node)

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 Extensionsflowgraphnodesuibuttons

Get Multiple Buttons (Flowgraph Node)

- **Node Name:** `Get Multiple Buttons`

Overview

  • Node Name: Get Multiple Buttons
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/ui/buttons/getMultipleButtons.lua

Handles multiple buttons in a single node, checking click states for each. The number of button slots is configurable in the editor.

Pin Schema (per slot, numbered _1, _2, etc.)

Input Pins

PinTypeDescription
buttonId_NnumberID of button N

Output Pins

PinTypeDescription
clicked_Nflow(Impulse) Fires when button N is clicked
buttonId_NnumberPassthrough of button N's ID

How It Works

  1. init() - Starts with count = 1.
  2. drawCustomProperties() - Shows an integer input to change the number of button slots.
  3. updatePins(old, new) - Dynamically adds or removes pin triplets (buttonId input, clicked output, buttonId output) as the count changes.
  4. work() - For each slot, retrieves the button and outputs its clicked state.

Serialization

  • Saves and restores count, rebuilding pins on deserialization.

Example Usage

-- Create 3 buttons with createButton nodes, then feed all 3 IDs
-- into a single getMultipleButtons node with count=3.
-- Branch on clicked_1, clicked_2, clicked_3 individually.

See Also

  • Create Button (Flowgraph Node) - Related reference
  • Get Button (Flowgraph Node) - Related reference
  • Set Button Property (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Get Button (Flowgraph Node)

- **Node Name:** `Get Button`

Set Button Property (Flowgraph Node)

- **Node Name:** `Set Button Property`

On this page

OverviewPin Schema (per slot, numbered _1, _2, etc.)Input PinsOutput PinsHow It WorksSerializationExample UsageSee Also