DecayKnowledgebase
functiongenerated

World.nearest

The closest active object with an authored tag to a world-space Vec3 position, including parent transforms. Gives null if none has a usable transform. Equal distances keep world order.

Signature

World.nearest(tag: String, position: Vec3) -> Entity

Member of World

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b