Vehicle Wheel

self:is_debug_visible

Client

Checks whether the debug overlay of the vehicle wheel is currently visible

Syntax

local result = self:is_debug_visible()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the debug overlay is visible, false otherwise

Examples

Check debug overlay visibility on a vehicle wheel
local car = physics.vehicle.create()
local entity = physics.vehicle_wheel.create(car)

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

On this page