title: Unity - How to check if there is a Tile of an specific Tilemap in the position x,y,z
body: <p>I made 4 TileMaps in the same Grid<br>
  <img src="https://i.imgur.com/Zlr3Tlb.png" alt="https://i.imgur.com/Zlr3Tlb.png"></p>
  
  <p>Lvl1 = The Level Blocks/Tiles,<br>
  Lvl1 Dec = The Decoration of the Level,<br>
  Negative Parts = Parts where the Player cant Jump,<br>
  Positive Parts = [The red ones]Parts where the player stops the jump Animation</p>
  
  <p><img src="https://i.imgur.com/dx8YZrz.png" alt="https://i.imgur.com/dx8YZrz.png"></p>
  
  <p>So that the thing is I want to check if there is a Positive Tile in a specific Position of that Tilemap, but my code does just checks for Colliders</p>
  
  <pre><code>if (TileChanger == Grass)
  {
      Vector3 pos = Cam.ScreenToWorldPoint(Input.mousePosition);
      RaycastHit2D hitdown = Physics2D.Raycast(vecdown, Vector2.zero);
      if (hitdown != false &amp;&amp; hitdown.collider != null)
      {
          PositiveParts.SetTile(vecInt, Positive);
          PositiveParts.SetTile(vecIntdown, null);
      }
      else
      {
          PositiveParts.SetTile(vecInt, Positive);
      }
  }
  </code></pre>
  
  <p>So is there any code to get an specific Tile from a specific Tilemap?</p>