1
$\begingroup$

There is no cursor_location property anymore now in Blender 2.8

So I tried

bpy.context.scene.location = [0,0,0]

But I again get an error that location is not defined for the scene. Any ideas how to get / set the cursor location in the lastest version?

$\endgroup$
4
$\begingroup$

you can access to the cursor location with this code

bpy.context.scene.cursor.location
$\endgroup$
1
  • $\begingroup$ Ah my bad, forgot the cursor:-) Thx $\endgroup$ – Jayanam Mar 15 '19 at 14:06

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.