Skip to content

Instantly share code, notes, and snippets.

View newwby's full-sized avatar

DanDoesAThing newwby

View GitHub Profile
@PrestonKnopp
PrestonKnopp / test_drag_and_drop.tscn
Created June 8, 2019 00:04
Examples of Godot's Control drag and drop functionality. Test it out by downloading this tscn and adding it to a Godot project. It is entirely self contained in one scene.
[gd_scene load_steps=6 format=2]
[sub_resource type="GDScript" id=1]
script/source = "extends Control
class DragDataColor:
var sender: Object
var color: Color"
[sub_resource type="GDScript" id=3]