1
$\begingroup$

I'm currently working with drivers in Blender 2.81 and want to use self but it doesn't work.

For example drive the rotation by the location, I'm adding a driver to the rotation, check the Use Self box and write self.location.x

Blender return the message: ERROR Invalid Python expression.

Have I missed something, is it a bug?

edit:

enter image description here

$\endgroup$
  • 2
    $\begingroup$ Can you post a picture of driver editor. Recent example doing just this blender.stackexchange.com/a/164893/15543 $\endgroup$ – batFINGER Jan 27 at 14:52
  • 4
    $\begingroup$ also post any error message that may be printed to console re the error in your expression. Make sure there is no leading spaces in expression for example. Look for "Error in Driver: The following Python expression failed:" $\endgroup$ – batFINGER Jan 27 at 15:03
  • 1
    $\begingroup$ blender.stackexchange.com/questions/6173/… $\endgroup$ – batFINGER Feb 1 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.