Skip to content

isAction(Just)?(Pressed|Released) don't work #8

Closed
@rosshadden

Description

@rosshadden

Maybe it's just something I'm doing or not doing, but I cannot get any of the isActionPressed methods to work.

Minimal example:

import godot, node
import input, scene_tree

gdobj Arena of Node2d:
  method process(dt: float64) =
    if isActionJustPressed("ui_cancel"):
      print "quit"
      getTree().quit()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions