how to debugdraw a CollisionShape2D

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

Hi,
I’m having my first steps with Godot and am now playing with physics.
Comming from box2d, I’m used to have a “debugdraw” of all my shapes available in order to see what happens without sprites.
Is there a simple way to have my shapes show when running my project (like the green shapes in the editor).
The editor can show it, so I suppose there’s something easy to get it visible on the running project but could not find it (beginner here!). I’ve seen in the docs that during runtime the shapes are only available with CollisionObject2D but could not figure out how to actualy draw it.

thx

:bust_in_silhouette: Reply From: volzhs

You can see it with Debug > Visible Collision Shapes

:bust_in_silhouette: Reply From: abakobo

It’s simlply in the “debug” menu… (I’ll have to get used to things I can do without code!)