# Minecraft Pi - get current location

``

    mc_location

Returns a list of floats `[x, y, z]` coords of the current location for Steve. The coordinates are finer grained than raw block coordinates but may be used anywhere you might use block coords.

Introduced in v2.5

## Examples

# Example 1
``
    puts mc_location
| ``
    #=> [10.1, 20.67, 101.34]
# Example 2
``
    x, y, z = mc_location
| ``
    #=> Find the current location and store in x, y and z variables.