I want to run a code when I change the frame. I figured out that this may be useful but I don't know how to test it:

import bpy

def my_handler(scene):
    print("Frame Change", scene.frame_current)


I entered the codes in the Python Console but nothing happens when I change the frame: enter image description here

How can I see the output of this basic code?

  • $\begingroup$ @batFINGER I would accept that the solution is Windows menu > Toggle System Counsel as stated in the links. Thank you, $\endgroup$ – user2824371 Sep 25 '20 at 16:35

Browse other questions tagged or ask your own question.