Skip to content
pixi-silk
GitHub repository
Function

getPath

import { getPath } from 'pixi-silk/ui/inspector';
function getPath(target: unknown, path: string): unknown;

The value at a dot path such as position.x. Undefined when a step on the way is missing.

Parameters#

ParameterType
targetunknown
pathstring

Returns#

unknown