When i click it it acts like a scroll but i have one at a the right.
It is called Minimap. It becomes useful when having several lines in code in your file since it provides a visual guide of the whole content of the file, but strangely, your looks bugged since it appears empty. It should look like the picture of Claude31. Try restarting Xcode or toggling Minimap from the Editor Options Button (the one you use to enable your canvas).