So the characters in my top-down strategy game form footprints to the ground when they move.
I've implemented the following code for the characters ('units):
Create:
canprint=1
Step:
if canprint=1
{
if !place_meeting(x,y,waterpar)
{
if speed > 0
{
instance_create(x,y,footprints)
can_print=0...