0
$\begingroup$

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)


bpy.app.handlers.frame_change_pre.append(my_handler)

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?

$\endgroup$
1
  • $\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.