Copy link to clipboard
Copied
Hi
Opacity value to be 100 when the time is equal to the time of the marker
I want it to show 3 frames instead of just 1 frame
Can someone help me fix the expression? Thank
var nMarker=thisLayer.marker;
var timeMarkers=nMarker.nearestKey(time).time;
if(timeMarkers==time){
100
}
else{
0
}
Like this maybe:
var nMarker=thisLayer.marker;
var timeMarkers=nMarker.nearestKey(time).time;
var f = timeToFrames(time - timeMarkers);
f >= 0 && f < 3 ? 100 : 0
Copy link to clipboard
Copied
Like this maybe:
var nMarker=thisLayer.marker;
var timeMarkers=nMarker.nearestKey(time).time;
var f = timeToFrames(time - timeMarkers);
f >= 0 && f < 3 ? 100 : 0
Copy link to clipboard
Copied
Thank you!! It works as expected