# How to find out if the nla editor is in tweak mode

How can I verify with python if the current strip is in tweak mode? I know I can call the operators bpy.ops.nla.tweakmode_enter() and bpy.ops.nla.tweakmode_exit() for entering and leaving. Is there something similar which tells me if I am already in this mode?

• Just used the api search and it yielded Scene.is_nla_tweakmode. – pink vertex Nov 6 '14 at 13:15
• @pinkvertex Muchas Gracias :) Feel free to add it as an answer so I can mark the question as answered – Miguellissimo Nov 6 '14 at 23:22