📄 threejs/Core/Nodes/EventNode

File: EventNode.md | Updated: 11/15/2025


title: EventNode category: Core layout: docs

EventNode

EventNode is a node that executes a callback during specific update phases.

Constructor

new EventNode( eventType : string, callback : function )

Creates an EventNode.

eventType | The type of event
---|---
callback | The callback to execute on update.

Source

src/nodes/utils/EventNode.js