📜  godot 检查鼠标左键 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:55.947000             🧑  作者: Mango

代码示例1
if (event.is_pressed() and event.button_index == BUTTON_LEFT):
    print("Wow, a left mouse click")