{"id":"ui--RouteYuiPointerPath","name":"RouteYuiPointerPath","owner":"yeho","package":"ui","kind":"function","signature":"external RouteYuiPointerPath(yuiTree tree, list of yuiInputRegion regions, text capturedNodeId, text eventKind, text pointerId, int x, int y, text cancelNode, text cancelPhase) returns yuiRoutedEventResult","description":"Route yui pointer path.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"tree","type":"yuiTree","description":"Supply tree as yuiTree."},{"name":"regions","type":"list of yuiInputRegion","description":"Supply regions as list of yuiInputRegion."},{"name":"capturedNodeId","type":"text","description":"Supply captured node id as text."},{"name":"eventKind","type":"text","description":"Supply event kind as text."},{"name":"pointerId","type":"text","description":"Supply pointer id as text."},{"name":"x","type":"int","description":"Supply x as int."},{"name":"y","type":"int","description":"Supply y as int."},{"name":"cancelNode","type":"text","description":"Supply cancel node as text."},{"name":"cancelPhase","type":"text","description":"Supply cancel phase as text."}],"returns":"yuiRoutedEventResult","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/interaction-routing.yh","line":279,"sha256":"542b32d228288be62b76cbde5d7dd2518b23d552f78e33d459a15c4cb5b63541"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use RouteYuiPointerPath","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiTree tree = yuiTree(\"id\")\nlist of yuiInputRegion regions = []\ntext capturedNodeId = \"captured Node Id\"\ntext eventKind = \"event Kind\"\ntext pointerId = \"pointer Id\"\nint x = 1\nint y = 1\ntext cancelNode = \"cancel Node\"\ntext cancelPhase = \"cancel Phase\"\nyuiRoutedEventResult result = RouteYuiPointerPath(tree, regions, capturedNodeId, eventKind, pointerId, x, y, cancelNode, cancelPhase)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__routeyuipointerpath\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"b0a5300b0a874e538142b5ecac3b32decbf0717ead47e1fe391dc9b8deee62cb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--RouteYuiPointerPath","json":"https://demonhunterlabs.com/reference/items/ui--RouteYuiPointerPath.json","markdown":"https://demonhunterlabs.com/reference/text/ui--RouteYuiPointerPath.md"}
