2
$\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$

1 Answer 1

5
$\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
    Commented Mar 15, 2019 at 14:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .