nuke.thisKnob

nuke.thisKnob() → Knob

Returns the current context knob if any.

Returns:

Knob or None