Hello! I have a following problem: I'm building a modal operator that gets an object's name under cursor. Inside an operator, I have a variable named '_object = None' which updates every time user runs modal or moves mouse. Then the modal does something with that variable. The problem is when I try to do something with that _object properties (for example, change objects scale by 0.5) and when user moves cursor to another object, reset that property to previous (set scale back to 1). Soo I'm not really sure how to do it :D Here's a super short structure of my code: class GetObject(bpy.types.Operator): _object = None if event.type == 'MOUSEMOVE': self.get_object() self.change_scale() def get_object(self, context, event): #bunch of code that returns object under cursor def change_scale(self, context, event): self._object.scale = 0.5 #somewhere here I assume should be code that changes previous object's scale back to 1 if get_object() returns a different object (like when user moved cursor) and here's where I stuck at, because things like if self._object != self._object don't work here unfortunately because it has to run after get_object() function to get new object reference Anyone knows how to solve this? I'm attaching full version of my modal just in case