Microsoft MakeCode

Missing blocks?

In building out some programs, I have been unable to find blocks for the following scenarios. Am I missing something, or are these simply missing? (a number of these have come from building out a worldedit style program).

  1. Get the coordinates of a block that a player has right clicked on with a tool? Ideally usable with something like On Item Used.
  2. Get the block type at provided coordinates. The workaround to this is teleporting your Agent to that block beside it and asking the Agent to do an inspect, but this isn’t ideal.
  3. For agent inspect, it does not take into account the data value. This results in stuff like any wool getting the data value of 0, so white wool.
1 Like