More information for tile

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vladocc
:warning: Old Version Published before Godot 3 was released.

Hi! I want to realise function that generate tiles in side of that tile, if player step on it.
Can tile store information about side? And… Godot have any methods to realise auto reaction for tile on step of player on it?

:bust_in_silhouette: Reply From: Ceilingdoor

A tile can’t store any information, this has been discussed a lot whether a tile should have scripts or not. Use your own solution like arrays or whatever you can come up with.

Cheers!