# SetVirtualJoystickSize

## Description

Sets the diameter of the virtual joystick in screen coordinates. Resizing a virtual joystick whilst it is in use will alter the current X and Y values being returned.

## Definition

SetVirtualJoystickSize( index, size )

void agk::SetVirtualJoystickSize( UINT index, float size )

## Parameters

- index - The ID of the virtual joystick to set.
- size - The new diameter of the joystick in screen coordinates.