diff --git a/leenkx/blender/lnx/logicnode/browser/LN_detect_mobile_browser.py b/leenkx/blender/lnx/logicnode/browser/LN_detect_mobile_browser.py new file mode 100644 index 0000000..49b33dc --- /dev/null +++ b/leenkx/blender/lnx/logicnode/browser/LN_detect_mobile_browser.py @@ -0,0 +1,10 @@ +from lnx.logicnode.lnx_nodes import * + +class DetectMobileBrowserNode(LnxLogicTreeNode): + """Determines the mobile browser or not (works only for web browsers).""" + bl_idname = 'LNDetectMobileBrowserNode' + bl_label = 'Detect Mobile Browser' + lnx_version = 1 + + def lnx_init(self, context): + self.add_output('LnxBoolSocket', 'Mobile')