prevent cars from passing through blocks such as squares

I want to make a bumper car game and I want to add a border here show either the method of not crossing the square or other geometric shapes or another method of adding borders

Hi @ekrem_kozan,

To enable physical properties like collision for your objects, you need to enable Physics for those objects.

Hope that helps! Let me know if you have any further questions about this. If this solves your problem, please mark this post as the Solution.

Many thanks,
Geoff @ TechLeap