Paper.io territory claim system

Hello!
I’m trying to develop a Paper.io game, but I don’t know how to create the territory claiming system. I want a similar system to this game: Color.io - Roblox, but don’t know how to create it. I tried using raycasting but that didn’t work well either.

I’m happy about any help.

Hi, the system you’re likely going to be using is flood filling, there are already several useful posts regarding to this:

1 Like

(traditional flood filling uses square and a four way detection, you may need to adjust for 6 sides instead)

1 Like

Thank you so much for letting me know! I’ll test it out.