Imagine & Shape

Hi everyone,

I have a little question about IMA. When I create a ''Primitive cylindre'', how I can rotate this one to align the "GREEN line" to the "RED" one when I created it? Let me know if I'm not clear enough...

Thank you all :)