14 lines
455 B
Python
14 lines
455 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class CanvasGetPositionNode(ArmLogicTreeNode):
|
|
"""TO DO."""
|
|
bl_idname = 'LNCanvasGetPositionNode'
|
|
bl_label = 'Get Canvas Position'
|
|
arm_version = 1
|
|
|
|
def init(self, context):
|
|
super(CanvasGetPositionNode, self).init(context)
|
|
self.add_input('NodeSocketString', 'Element')
|
|
self.add_output('NodeSocketInt', 'Position')
|
|
|
|
add_node(CanvasGetPositionNode, category=PKG_AS_CATEGORY)
|