---
id: tiled-template
name: Tiled.template
category: tiled
kind: namespace-method
tokens: Tiled.template
sig: Tiled.template(path: string) -> value
tip: Read a template file into an object value.
order: 27
ns: Tiled
member: template
---
Reads a .tx/.tj template file and returns its object Value — the reusable object definition an instance inherits. Tiled.load resolves each object's template reference automatically, merging the template's fields under the instance's overrides.