Moving pen

I have created a custom curser using

Mouse.hide()
startDrag(cursernew,true)

it is a movieclip of a pen. Would anyone know of a way to make the pen tilt as you move across the page?