How do you hide your online status on facebook?

on the bottom-right-hand-corner there is a little shadow person and a green circle click on that then click turn off online status