Skip to content

GetSceneEntity

Return the entity with a specific model (only entity created by the scene)

Argument Data Type Needed Default Description
scene scene - The scene netid
model string/number -
Returns
Data Type Description
obj The scene object

Dont need to be called every frame


Example
local entity = GetSceneEntity(scene, "prop_weed_01")

Last update: December 16, 2022
Created: October 31, 2022