Skip to content

Function: FieldValueToData() ​

ts
function FieldValueToData(field, value): unknown;

A field value as plain data: entity / component refs become the entity id (or null), everything else is a detached copy. Tools reading component state for display use it too.

Parameters ​

ParameterType
fieldComponentField
valueunknown

Returns ​

unknown

© 2026 PlayAdGentic