コンテンツにスキップ
出品Button Hold Component Primerのメディア1

説明

DOCUMENTATION | VIDEO

Primer Button Hold adds press-and-hold behavior to any UMG or Common UI button, straight from the UMG Designer’s Add Component list.

Select a button in the Designer

Add a Button Hold component

Set the duration
Bind the Blueprint events

The plugin owns the hold timing and the button binding; your Blueprint owns what a completed hold means.

Works on plain UButton and any UCommonButtonBase, with mouse, touch, and gamepad.

CORE FEATURES

  • Press-and-hold on any UMG Button or Common UI button

  • Added from the UMG Designer’s Add Component list

  • Configurable hold duration and optional start (arming) delay

  • Toggle Hold (click-to-toggle) mode for clicker / auto-repeat mechanics

  • Repeating holds with configurable delay and max-repeat cap

  • Started, progress, completed, repeated, ended (with cancelled flag), and repeat-count-changed events

  • Normalized 0..1 hold progress plus elapsed / remaining seconds accessors

  • Manual Start / Pause / Stop control of the hold timer

  • Force-complete and progress-scrub functions

  • Cancels on cursor leave or when the button is hidden

  • Runtime setter for every property

  • Blueprint gate to reject a press

  • Blueprint node to fetch the component from a widget

  • Mouse, touch, and gamepad support

  • Holds continue while the game is paused

How To

  • Select a Button or Common UI button in the UMG Designer

  • Click Add Component and pick Button Hold

  • Set Hold Duration in the Details panel

  • Call Get Primer Button Hold Component and bind the delegates

CONFIGURABLE PARAMETERS

  • Payload Structs: Any valid FInstancedStruct payload you author

  • Handles: Stable integer keys for each replicated entry

  • Validation Gates: Blueprint-overridable rules for adding, setting, removing, or moving entries

  • Replication Owner: The replicated actor that owns the component

USE CASES

  • Hold to confirm

  • Hold to quit on a pause menu

  • Hold and click on one button

  • Clicker / auto-repeat

  • Stepper / hold to increment

  • Two holds in one widget

PRIMERS

Part of the Primer series, this plugin prioritizes clarity, control, and practical workflows.

含まれる形式