Optimising Your Heatmaps

Changing your block size

Your block size is the size of the grid cells used to represent your heatmap data. Its measured in studs squared.

If you have a large open world map with things such as vehicles you may want to increase your block size to improve performance and lower cost as accuracy may be sacrificed.

On the other hand, if you have a more detailed map with intricate structures, you might want to decrease your block size to maintain accuracy at the expense of performance and increased cost.

In order to change your block size a re-initialisation of the heatmap is required.

In Roblox Studio go to plugins and click on Initialise Heatmap.

In the popup enter the same connection details as before but change the block size to your desired value.

Once you have entered the new block size, click on the "Initialise" button to re-initialise the heatmap.


Changing your refresh time

Your refresh time is the time in seconds that your heatmap will wait before updating its data.

If you have a fast-paced game with a low player count, you might want to decrease your refresh time to ensure the heatmap updates frequently and provides real-time information.

If you have a slow-paced game with a high player count, you may increase your refresh time to reduce the load on servers, improve performance and reduce costs.

The refresh time can be adjusted by editing the attribute inside the Heatmap script.

In ServerScriptService locate the Heatmap script and edit the "Refresh" attribute. The refresh value is the time in seconds that the heatmap will wait before updating its data.