15 lines
		
	
	
		
			380 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			380 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| 
 | |
| class CanvasGetPositionNode(LnxLogicTreeNode):
 | |
|     """TO DO."""
 | |
|     bl_idname = 'LNCanvasGetPositionNode'
 | |
|     bl_label = 'Get Canvas Position'
 | |
|     lnx_section = 'elements_general'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_input('LnxStringSocket', 'Element')
 | |
| 
 | |
|         self.add_output('LnxIntSocket', 'Position')
 |