) and was thinking is it possible for us to create the similar gameplay?
basicaly: a platformer game; you must push boxes to fill out gaps/hole in order for your player to cross the road
if its possible, what kind of function do i use? could collider do the job?
You could absolutely make a game like this, I’m not sure colliders are necessary for this, you could just store everything’s position in and object type in a class and just calculate your position relative to other object’s positions and react accordingly.
I fully agree with @ here. If it’s a grid based game, save yourself a lot of headache and do not use physics for this. You know where everything is in the grid; you know how you want things to react when you move into a given grid cell; just write some code to make them react that way.