Here is a step-by-step guide on how you can make a step tracker in Gimkit.
First, place down a movement meter. Set Tracked Item to any item that you won’t use in the game, Set Drain Interval to the smallest option possible (which makes the tracker more accurate).
Next, place down a Starting inventory device. Set Item To Grant to the item you chose earlier, and set Granted Item Amount to as high as possible (the maximum is 999999999999999).
Next, place down a property. Name it “stepsState”. Set Propety Type to “Number”, Property Scope to “Player”.
Place down an Inventory Item Manager. Set Item to the item you chose earlier, Show Item Alerts to “No”.
Go to the properties tab, set Update Property to “Yes”, Property To Update to “stepsState” (the property earlier).
![image](https://forum.creative.gimkit.com/uploads/default/original/2X/b/b59c94ce3b70471ae4fba2f57126a3e15d321f6a.png)
When you’re done, you should have something like this:
Place down another Property. This time, name it “steps”. Set Property Type to “Number”, Property Scope to “Player”.
Place down a lifecycle and a trigger. Wire the lifecycle to the trigger: Event occurs > Trigger.
Select the trigger. Set Visible In Game to “No”, set Trigger By Player Collision to “No”, set Max Triggers Scope to “No”. “When triggered, transmit on” set to “Steps”, “Trigger when receiving on” set to “Steps”.
Important: Set Trigger Delay to at least 0.1.
This way, the trigger will continuously trigger itself and track the steps more accurately.
Go to blocks > When triggered.
![image](https://forum.creative.gimkit.com/uploads/default/original/2X/f/fb847231dded4d4d2db6e6f46281282a39654414.png)
Follow this code:
Now the players steps will be tracked in a property. To make the value show up on screen, place down an Overlay. Go to Blocks > When receiving on channel. Name the channel “Overlay”.
Follow this code:
Now go back to the trigger block code and add the broadcast message block.
Final product: