0 votes

if you need to see how it looks like. I made a recording here:
https://imgur.com/sthpT4g

The Code
below


func getdragdata(pos):
# Use another colorpicker as drag preview
var cpb = ColorPickerButton.new()
cpb.color = color
cpb.rect
size = Vector2(50, 50)
setdragpreview(cpb)
# Return color as drag data
return color

func candropdata(pos, data):
return typeof(data) == TYPE
COLOR

func dropdata(pos, data):
color = data


Does anyone have a good guess on how to fix this?
Thanks :)

in Engine by (20 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.