Triangle hitbox issues

I don’t know how to give the triangles a triangular hitbox instead of a square hitbox.

https://replit.com/@FrankOstemar/geometry-Dash?v=1#index.html