> For the complete documentation index, see [llms.txt](https://joanorba.gitbook.io/spawnertool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joanorba.gitbook.io/spawnertool/api/data/spawnergraph/getspawnenemydatabytime.md).

# GetSpawnEnemyDataByTime

function in SpawnerGraph

### Declaration

public [SpawnEnemyData](/spawnertool/api/data/spawnenemydata.md) GetSpawnEnemyDataByTime(int round, float time);

### Parameters

<table data-header-hidden><thead><tr><th width="178"></th><th></th></tr></thead><tbody><tr><td>round</td><td>The round you want to get enemies from</td></tr><tr><td>time</td><td>Time must be greater than spawn time, to return that <a href="/spawnertool/api/data/spawnenemydata.md">SpawnEnemyData</a></td></tr></tbody></table>

### Returns

[**SpawnEnemyData**](/spawnertool/api/data/spawnenemydata.md) **-** Returns [SpawnEnemyData](/spawnertool/api/data/spawnenemydata.md) if time is greater than an enemy spawn time in the given round

### Description

It returns [SpawnEnemyData](/spawnertool/api/data/spawnenemydata.md) if time is achieved.
