Show Collision Shapes at Runtime (2.1.5)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By 9BitStrider

See title. I’m trying to find an option that will allow me to see collision shapes when I’m testing my game.

:bust_in_silhouette: Reply From: kidscancode

In the Debug menu choose “Visible Collision Shapes”.

Not seeing the option here.

9BitStrider | 2018-12-13 05:06

Never mind. I was looking at the wrong menu. Thanks.

9BitStrider | 2018-12-13 05:15

Sorry, I completely forgot where it was in 2.x (it’s been a while.

It’s not in project settings. There’s an icon in the top center - the rightmost one, called “Debug Options”. It can be found under there.

kidscancode | 2018-12-13 05:20

Also you can access this property on code:

get_tree().set_debug_collisions_hint(value) 

get_tree().is_debugging_collisions_hint() 

luislodosm | 2021-04-23 12:16