Skip to main content

ComponentObjectProps

See CreateObjectProps and ObjectEventMap

export type ComponentObjectProps<T extends ObjectType = ObjectType> = Omit<
ObjectEventMapList<T> & CreateObjectProps<T>,
'type'
> & {
soundName?: string;

soundOptions?: SoundOptions;

proximityAction?: Omit<ProximityActionOptions, 'objectId'> | boolean;

particles?: ParticlesOptions | boolean;

helper?: boolean;
};