OnFallOffMap||doc136883

September 20, 2022

Format

local event = Entity:GetEvent("OnFallOffMap")

Description

Triggered event when entity falls to the bottom of the map.

Callback function parameters

Type Name Introduction
Entity entity Bottomed Entity

Code Example

local event = Event:GetEvent("OnFallOffMap")
event:Bind(function(entity)
    print(entity .. " fall off map")
end)