Taking cover behind walls

Has anyone figured out how to make an infantry unit take cover behind a stone fence on the mobile port? On PC it's with right mouse button on the fence and then dragging if I remember correctly.