moving elements

moving elements

Hey everyone i am new to this. and was wondering if someone could give me a hand. 

I have a object loaded on the screen like a 150px from the top. I want when the screen moves down the element stays in place like ti normally does but as soon as the element is at 1px from the top of the screen that element moves with the screen. 

Is this is something that is doable?