Click or drag to resize

InputEventAccumulate Method

Returns true if the given input event and this input event can be added together (only for events of type InputEventMouseMotion).

The given input event's position, global position and speed will be copied. The resulting relative is a sum of both events. Both events' modifiers have to be identical.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool Accumulate(
	InputEvent withEvent
)

Parameters

withEvent
Type: GodotInputEvent

[Missing <param name="withEvent"/> documentation for "M:Godot.InputEvent.Accumulate(Godot.InputEvent)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.InputEvent.Accumulate(Godot.InputEvent)"]

See Also