API ReferenceGE Extensionsflowgraphnodesenvironment
Get Photomode
- **File:** `extensions/flowgraph/nodes/environment/getPhotomode.lua`
Overview
- File:
extensions/flowgraph/nodes/environment/getPhotomode.lua - Name:
Get Photomode - Category:
provider - Icon:
photo_camera - Author: BeamNG
- Description: Returns whether photomode is currently active.
Pin Schema
Input Pins
None.
Output Pins
| Name | Type | Description |
|---|---|---|
value | bool | true if photomode is active, false otherwise. |
Behavior
- work(): Reads the global
photoModeOpenvariable and outputs it.
Notes
- Useful for disabling HUD elements or pausing gameplay logic while the player is in photo mode.
- Provider category - continuously outputs without needing flow input.
Tags
#flowgraph #node #ge #environment #photomode #camera
Additional Exports
-
name-string- (see source) -
description-string- (see source) -
color-any- (see source) -
icon-string- (see source) -
author-string- (see source) -
pinSchema-table- (see source) -
tags-table- (see source)
See Also
- Directional Gravity - Related reference
- Get Cloud by ID - Related reference
- Get Fog - Related reference
- FlowGraph Guide - Guide