First of all THANK YOU ! I love Godot in all his parts. It is such an amazing tool !
I am so sorry if this message dosn’t belong here, I have no idea where to put it. I looked in the github repository but didn’t find a forum category.
So I noticed when using rpc, the “@rpc” must be before the “func” declaration. Like this :
@rpc
func myfunc () :
As I am listing my function with no line in between, I’m using it this way :
I am not sure if your suggestion is right, as it does not look proper I think. But you can request this feature in Godot Proposals. Forum is designed for help, showcase, etc, not suggestion requests.
I think this looks terrible and usually such changes arent done because someone likes to code a certain way.
But you can still try your luck with the link @KingGD provided
I thank you so much for your answers.
And sorry that I post at the bad place, I’ll remind it for now.
Indeed, if it matters only for me I agree it wouldn’t be fair.
I see it as optionnal, it could still be placed at the begin.
Indeed, the second option would be what I imagine. func my_function() @rpc -> void: