![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Ax_art |
is there a way to enable/disable the option Visible Collision Shapes from Debug in GDScript ? (in the code?)
thx
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Ax_art |
is there a way to enable/disable the option Visible Collision Shapes from Debug in GDScript ? (in the code?)
thx
![]() |
Reply From: | Telmo “Trooper” |
You can use get_tree().set_debug_collisions_hint(true)
, but that only works in an exported game if you toggle option Export With Debug
.