I make them place a light_block, and remove the outside light block per ticks. So that when entity move, the light blocks looks like it's moving too. However, the problem is when entity moves fast, (e.g., when falling from high place, sprint too fast) some light block will left behind. Hence the command execute per ticks so it fail to remove some light block sometimes when move too fast.
Is there a more efficient way to achieve this?