Tilemap get colliding tile in gdscript

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

I made a tileset with different tiles. But I want the player’s ability to jump to activate only if the player collides with the ground-tile. In the tileset-scene I attached a script to the ground-tile wich sets the meta to “ground”. But in the tilemap it still has no meta. How can I do this?

:bust_in_silhouette: Reply From: jospic

take a look here :

http://www.godotengine.org/qa/3551/possible-detect-type-tile-your-character-has-collided-with?show=3551#q3551

It could help …