Good day. I’m learning python for blender and stuck with pretty simple thing. I want to do some action when verticles are selected ( or at least one) in edit mode. But i cant find proper handle event for this.
For example this code:
import bpy
def depsgraph_callback(scene, depsgraph):
print(‘Vert is selected’)
Unless something changed very recently, the API does not recognize that the selection has changed mid-operation in edit mode. You have to manually update the operator (a button for the user to click after changing the selection, for example).