How can I define lines so when I click on the screen, my program knows whether I clicked on A B or C?

  • FreudianCafe
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    Step 1: use Godot Step 2: use Area2D node Step 3: use is_inside_area function with mouse_position as parameter