I'm not sure to understand what you mean.
You want a light that moves during the night but not during the day ?
You want a light that moves during the night but not during the day ?
$gameTime.getTime('day'); // will give you the number of days elapsed in the game
$gameTime.getTime('hour'); // will give you the current hour
$gameTime.getTime('minute'); // will give you the current minute
thanks amigo but i already know that. i wanted to say i want something more visual like the analog clock from moghunter master demo. but maybe it is not possible.

Also see what version you have of RPG MAKER, since it is more compatible with MV 1.5.2, although update to 1.6.0 and it works, some YANFLY plugin if you have to update them, but it is a separate point. So tell him what version of RPG you use and if it's Original.
https://github.com/FeelZoR/Lighting-GameTime-Editor/commits/master on here you can get a list of all the previous versions, and you should be able to download them ^^ though I highly recommend you to stay up-to-date, there's no reason why you should use a previous version of it.
Original thread: https://forums.rpgmakerweb.com/threads/lighting-and-time-editor-continued.86409/