[Solved]How to make object be created on a grid (in-game)?

(Basic knowledge about game not the How do I…?) I’m making a game called godly, its a sandbox game where you do whatever you want. I’m a beginner to Gdevelop, I have worked on games before, but never finished them. Now to the conflict. So I have a way to place grass and it makes the game lag after placing little bits of them (because it places them rapidly and has no limit and no limit to what amount that can be placed in one spot) So I want to make it place them on a grid but I don’t know how.

1 Like

I solved it by using a function called snaptogrid.

1 Like

Solved