Welcome to the forums painn!
I am assuming you are referring to the blue blocks extending from the character to the cursor? This is the ruler. When you open your inventory, in the top-left are a series of icons for controlling some wire settings, block swap, etc. One of those options will allow you to turn the ruler off (and back on again later if you need it). Hope that helps!