Skip to main content
Corvus Connection

VTuber: On Model Clicked

VTuber
Trigger
Portent preview
entry.onVTuberModelClickedFires when the user clicks the avatar; binds mouseButton / x / y.Triggers when the avatar is clicked.
Avatar

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
mouseButton
Data
System.Int32
multiplexed
x
Data
System.Double
multiplexed
y
Data
System.Double
multiplexed
occurredAt
Data
System.DateTime
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    mouseButton
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    x
    Kind
    Data
    Type
    System.Double
    Flags
    multiplexed
  • Name
    y
    Kind
    Data
    Type
    System.Double
    Flags
    multiplexed
  • Name
    occurredAt
    Kind
    Data
    Type
    System.DateTime
    Flags
    multiplexed

Bindings

Name
Type
Description
mouseButton
System.Int32
Which mouse button was clicked (0 left, 1 right, 2 middle).
x
System.Double
The click's x position, in model space.
y
System.Double
The click's y position, in model space.
occurredAt
System.DateTime
When the model was clicked (UTC).
  • Name
    mouseButton
    Type
    System.Int32
    Description
    Which mouse button was clicked (0 left, 1 right, 2 middle).
  • Name
    x
    Type
    System.Double
    Description
    The click's x position, in model space.
  • Name
    y
    Type
    System.Double
    Description
    The click's y position, in model space.
  • Name
    occurredAt
    Type
    System.DateTime
    Description
    When the model was clicked (UTC).

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnVTuberModelClicked] Handle(ctx, VTuberModelClickedContext e)

Used in