Notifications
Clear all
Simhub General
3
Posts
3
Users
0
Reactions
1,568
Views
Topic starter
16/11/2021 12:12 pm
I would like to show last lap of a driver but only for 5 seconds. How can I show a text widget and then desappear it?
16/11/2021 9:40 pm
Hi,
Use the changed function in the visibility formula.
Changed( 5000, [WhateverProperty])
You'll find an example here if needed:
https://discord.com/channels/299259397060689920/551790196061110272/845960717760724992
23/11/2021 9:48 pm
If it's only at the beginning of the lap it could be pretty simple:
if(timespantoseconds([CurrentLapTime])<5,1,0)
I made a layergroup with everything in it and set the code above for the visibility setting.