physics.collision_shape.is_debug_all

Client

Checks the current global debug-wireframe default set by the last set_debug_all() call


Syntax

local result = physics.collision_shape.is_debug_all()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the global debug default is enabled, false otherwise

Examples

Check the global debug default
physics.collision_shape.set_debug_all(true)

core.engine.print("info", "Collision shape debug-all enabled:", physics.collision_shape.is_debug_all())

On this page