Reads a BasePart-related value by name, reaching physics fields that are not exposed as ordinary scriptable properties. It is a focused companion to gethiddenproperty for part internals.

Parameters

Instance
required
The part to read from.
string
required
The value name.

Returns

any
The requested value.

Example

Errors