Update:
It works with any non solid blocks instead of the walls.
Note:
This only works with path blocks.
Update:
It works with any non solid blocks instead of the walls.