answered 2021-05-21 09:09:33 +0000
I haven't tried this, but ProtoField.framenum() is probably a good place to start.
ProtoField.framenum()