You should connect the current sensor in series with the other blocks in the branch where you want to measure the current.
Doc page for the Simscape Current Sensor: https://uk.mathworks.com/help/simscape/ref/currentsensor.html
This is the right setup to measure current through the RC branch on the right:

Hope that helps.
Best,
Felipe

