13 lines
		
	
	
		
			370 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			370 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class GetTraitPausedNode(LnxLogicTreeNode): | ||
|  |     """Returns whether the given trait is paused.""" | ||
|  |     bl_idname = 'LNGetTraitPausedNode' | ||
|  |     bl_label = 'Get Trait Paused' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxDynamicSocket', 'Trait') | ||
|  | 
 | ||
|  |         self.add_output('LnxBoolSocket', 'Is Paused') |