Python Expression - Timeline

If I add an Expression to a PyDriver, how can I get the number of the current Animation frame?

frame is in the driver namespace. or you can set up a single prop variable pointing to scene , “frame_current”

Type #frame into any drivable property ( given it’s within the range of that prop) or #sin(frame) will give sin of the frame.
The driver expressions will be frame and sin(frame) respectively, no variables if used this way.

Wow this was easier than expected… Thanks. :slight_smile: