Skip to content

Wrap

Introduction

Wrap the given value between min and max, built-in method of phaser.

  • Author: Richard Davey

Usage

var result = Phaser.Math.Wrap(value, min, max);
  • value : The value to wrap.