is null in plugin

Tick triggers on every frame that engine generates not in fixed time, Delta time is there so any changes you do is time based not frame based like this, it’s estimated time that will pass between the frames

X = X + (Y * DeltaSeconds);

Now Y becomes number added to X per second, not number added per frame which would happen if you would not scale Y to DeltaSeconds.

If you want function trigger in fixed amount of time use timer on the loop, considering you been searchin for SetTimer() i guess you know how to use them already