Reply To: console error

Home Forums General Programming console error Reply To: console error

#72146
human fly
Participant
  • Topics: 124
  • Replies: 1070
  • Total: 1194
  • ★★★★

here’s an example:
if you open the DEMO-Move component with animation panel,
myMethod() has:

myMethod = function(mod, value)
	console ("animate")
	anim = CtrlrLuaComponentAnimator()

	if value == 1 then
		anim:animateComponent(
			panel:getComponent("modulator-1"),
			panel:getComponent("pos1"):getLuaBounds(),
			1.0,
			1000,
			false,
			1000,
			1000
		)
	end

	-- etc.
end

and it indeed prints ‘animate’ to the console.

so, from there, what can i do with that?
ie: if i can get it to print to the console,
is it just a display of what i can send to
something else? (newb…)
example please, if possible.

Ctrlr