How to create TileSet in GDScript

Godot Version 4.3 Beta 1

Question

I tried to create a TileSet using GDScript:

static func generate_tile_set() -> TileSet:
	var tile_set: TileSet = TileSet()

But it doesn’t work, help me, how to create a tileset?

TileSet.new()

thanks, I forgot)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.