Skip to content

Actor

class Actor extends CharacterBody2D

Description

Anyone who can be controlled by a cutscene.

Methods

static func get_by_name(actor_name: String) -> Actor


static func get_all() -> Actor[]


static func exists(actor_name: String) -> bool


func calc_walk_fps(point: Vector2, time: float) -> float


func set_fps(fps: float) -> Variant


func walk_to_point(point: Vector2, time: float) -> Variant


func get_current_texture() -> Texture2D


func get_sprite_offset() -> Vector2