help with 2d shooting

heyy everyone i need some help with a 2d game im making
i need to make a cursor that only goes along the y axis and my character follows it
because my game is 2d if anycan help
or show me a tutorial plz do

thank you : ]

Do some searches.

Look into using the Rasterizer module to access mouse information. Link

If you know python, mouse.position[1] is the y-axis position of the cursor.

heyy thank you for your help ill have a look into it
im very new to python scripting but i will have a look into it

thank you