Skip to content

Instantly share code, notes, and snippets.

@andreberg
Created February 24, 2021 17:54
Show Gist options
  • Save andreberg/d45b5725ca6916c7ae7ea60a81832354 to your computer and use it in GitHub Desktop.
Save andreberg/d45b5725ca6916c7ae7ea60a81832354 to your computer and use it in GitHub Desktop.
[Get Active Object] Access selected object from bpy scene context (blender 2.8) #blender #python #scene #context #object #scripting #blender28 #bpy
import bpy
active_object = bpy.context.view_layer.objects.active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment