Skip to main content
Tweeted twitter.com/StackBlender/status/1435256563405631493
edited tags
Link
iKlsR
  • 43.7k
  • 12
  • 157
  • 190
Source Link
P i
  • 4k
  • 10
  • 35
  • 53

Find active camera from Python

I could just use:

obj_camera = bpy.data.objects["Camera"]

to get the camera, but it is possible to have a scene with multiple cameras.

So if that is the case, how can I choose the active one?