How do i toggle the block's solid characteristic?

Yes, it’s me again lol
I want to know a way of toggling the block’s solid characteristic
No solid = Other blocks can pass by it
Solid = other blocks can’t pass by it
I am saying blocks but i mean types you know

You could always just use the enabled behavior, false means that it becomes a non-solid, and true is solid.

1 Like

Oh
So the enabled toggles that?
Thank you! Learning new things!

1 Like

Yup, but keep in mind that false also disables collisions. So if you plan on having an event when you touch the non-solid object you may want to consider raycasts

3 Likes