self:is_visible

Client

Checks whether the vehicle wheel is visible


Syntax

local result = self:is_visible()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if visible, false otherwise

Examples

Check visibility of a vehicle wheel
local entity = physics.vehicle_wheel.create()

core.engine.print("info", "Vehicle wheel visible:", entity:is_visible())

On this page