API Reference › Tiled › Tiled.prop
method

Tiled.prop

Tiled.prop(container, name: string) -> string

Returns the string value of custom property name on container (an object / tile / layer / map), falling back to the container class's default from the project custom-type table (Tiled.load_types). "" when absent everywhere.

← All symbols