0

find out entity in shotgun when right click on it

Hi

 

How can i find out which entity i click on in shotgun.

So very simple task when i write self.log_info() how can i get it to print out the entity ?

 

thx

Hannes

1 comment

  • 0
    Avatar
    Manne Öhrström

    Hello Hannes!

    Sorry about the delay!

    The entity will be in the context, try print self.context or print self.context.entity

    Hope that helps!
    Manne

Please sign in to leave a comment.