from lnx.logicnode.lnx_nodes import *

class PickLocationNode(LnxLogicTreeNode):
    """Pick a location coordinates in the given NavMesh."""
    bl_idname = 'LNPickLocationNode'
    bl_label = 'Pick NavMesh Location'
    lnx_version = 1

    def lnx_init(self, context):
        self.add_input('LnxNodeSocketObject', 'NavMesh')
        self.add_input('LnxVectorSocket', 'Screen Coords')

        self.add_output('LnxVectorSocket', 'Location')