Hitbox With (Expression) — Skonic

Addon: Skonic · Category: Expression · Since: 1.2.2-b1

Syntax

[a] hitbox [with scale %number%[,| and]] [[with] width %number%[,| and]] [[with] height %number%]

Description

A Citizen Hitbox with the given components. Scale is a multiplier for the hitbox. For example, if the width was 1 and the height was 2, then if the scale was 2, the hitbox's effective dimenstions would be 2 width and 4 height. Default values are: - Scale: 1 - Width: 1 - Height: 2

Examples

set {_hitbox} to a hitbox with scale 1, width 2 and height 4

set {_box} to a hitbox:
	set hitbox scale to 1
	set hitbox width to 1
	set hitbox height to 2

View source