# SetVirtualButtonSize

## Description

Sets the size of the virtual button in screen coordinates.

## Definition

SetVirtualButtonSize( index, sizeX, sizeY )

void agk::SetVirtualButtonSize( UINT index, float sizeX, float sizeY )

SetVirtualButtonSize( index, size )

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

## Parameters

- index - The ID of the virtual button to set.
- sizeX - The new X size of the button in screen coordinates.
- sizeY - The new Y size of the button in screen coordinates.
- size - The new diameter of the button in screen coordinates.