Files
workinf_Blender_Wasm/blender-5.2.0/doc/python_api/examples/bpy.app.handlers.0.py
2026-08-12 04:47:48 -04:00

16 lines
255 B
Python

"""
Basic Handler Example
+++++++++++++++++++++
This script shows the most simple example of adding a handler.
"""
import bpy
def my_handler(scene):
print("Frame Change", scene.frame_current)
bpy.app.handlers.frame_change_pre.append(my_handler)