Cleanup: API docs
[blender.git] / doc / python_api / examples / bpy.app.handlers.py
1 """
2 Basic Handler Example
3 +++++++++++++++++++++
4
5 This script shows the most simple example of adding a handler.
6 """
7
8 import bpy
9
10
11 def my_handler(scene):
12     print("Frame Change", scene.frame_current)
13
14 bpy.app.handlers.frame_change_pre.append(my_handler)