setPath
import { setPath } from 'pixi-silk/ui/inspector';
function setPath(
target: unknown,
path: string,
value: unknown
): void;
Sets the value at a dot path such as position.x. Missing objects on the way are not created, and the write is skipped.
Parameters#
| Parameter | Type |
|---|---|
target | unknown |
path | string |
value | unknown |
Returns#
void