I’m looking for an expression that changes the x,y position (within a specific range) of a layer randomly. However I’d like the changes to happen at random intervals, rather than happening once every frame, or once every five frames. Ideally I can set a range, say between 1-5 frames, so sometimes the position shifts a frame after the last shift. And other times the position takes 5 frames to shift again.
Currently, the only expression code I have is pasted below.
However, the interval here is fixed and not random (I believe). Does anyone have a better solution?