How to accurately detect terrain size and position?

I tried to get the terrain size accurately by referencing Terrain.Size but it doesn’t seem to work properly.

Terrain.Size doesn’t work properly and I haven’t found any other ways to do this.

1 Like

Are you doing this on the client or the server? The Size property does not replicate.

I am doing this on the server but it still doesn’t appear to be working correctly.

I see what you mean.
I would try using Terrain | Roblox Creator Documentation with a really big region (the extents size of the workspace maybe) and then read how many results it returns in the array.

Yeah well im actually kind of doing that but it isn’t reliable enough and is simply too laggy.

The best way I found was just to manually specify the region.